Clones an array. If deep is false (default) the clone will be shallow. Otherwise structuredClone is used.
deep
false
The new array
clone
The array to clone
Optional
Creates a deep clone using structuredClone if true.
structuredClone
Generated using TypeDoc
Clones an array. If
deep
isfalse
(default) the clone will be shallow. Otherwise structuredClone is used.Returns
The new array
See
clone