The type of the objects being copied.
The object or array to clone. If it is proxied, clone
will subscribe to any changes to the (nested) data structure.
SHALLOW: Performs a shallow clone, meaning that only the top-level array or object will be copied, while object/array values will just be references to the original data in src
.
A new unproxied array or object (of the same type as src
), containing a deep (by default) copy of src
.
Clone an (optionally proxied) object or array.