clone method
      
ShellOptions
clone({ 
    
- bool? throwOnError,
- String? workingDirectory,
- bool? runInShell,
- Encoding? stdoutEncoding,
- Encoding? stderrEncoding,
- Stream<List< ? stdin,int> >
- StreamSink<List< ? stdout,int> >
- StreamSink<List< ? stderr,int> >
- bool? verbose,
- bool? commandVerbose,
- bool? commentVerbose,
- bool? noStdoutResult,
- bool? noStderrResult,
- ShellEnvironment? shellEnvironment,
Create a new shell
Implementation
ShellOptions clone({
  bool? throwOnError,
  String? workingDirectory,
  bool? runInShell,
  Encoding? stdoutEncoding,
  Encoding? stderrEncoding,
  Stream<List<int>>? stdin,
  StreamSink<List<int>>? stdout,
  StreamSink<List<int>>? stderr,
  bool? verbose,
  bool? commandVerbose,
  bool? commentVerbose,
  bool? noStdoutResult,
  bool? noStderrResult,
  ShellEnvironment? shellEnvironment,
}) {
  return ShellOptions(
    verbose: verbose ?? _verbose,
    runInShell: runInShell ?? _runInShell,
    commandVerbose: commandVerbose ?? _commandVerbose,
    commentVerbose: commentVerbose ?? _commentVerbose,
    stderr: stderr ?? _stderr,
    stderrEncoding: stderrEncoding ?? _stderrEncoding,
    stdin: stdin ?? _stdin,
    stdout: stdout ?? _stdout,
    stdoutEncoding: stdoutEncoding ?? _stdoutEncoding,
    throwOnError: throwOnError ?? _throwOnError,
    workingDirectory: workingDirectory ?? _workingDirectory,
    environment: shellEnvironment ?? _environment,
    noStdoutResult: noStdoutResult ?? _noStdoutResult,
    noStderrResult: noStderrResult ?? _noStderrResult,
  );
}