# X::LibTmux::Command.clone

- **Module:** X::LibTmux
- **Package:** LibTmux
- **Language:** Raku
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-raku/blob/0b5dd3d32e20f83a0069874e33eab0eb48f55962/lib/LibTmux/Exceptions.rakumod#L41
- **Page:** https://libtmux.org/en/raku/latest/reference/x-libtmux-command-clone/

```
method clone(*%changes --> X::LibTmux::Command:D)
```

Copy error context with validated fields and independent immutable byte buffers.

Copy error context with validated fields and independent immutable byte buffers.

## Parameters

- `%changes`
