## clone · function

Clone an (optionally proxied) object or array.

**Signature:** `<T extends object>(src: T) => T`

**Type Parameters:**

- `T extends object` - The type of the objects being copied.

**Parameters:**

- `src: T` - The object or array to clone. If it is proxied, `clone` will subscribe to any changes to the (nested) data structure.

**Returns:** A new unproxied array or object (of the same type as `src`), containing a deep copy of `src`.
