---
title: "clone | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms/clone/"
---

# clone

> clone

## Interfaces

### StructuredSerializeOptions

#### Properties

##### transfer?

```ts
optional transfer?: Transferable[];
```

## Functions

### structuredClone()

#### Call Signature

```ts
function structuredClone<T>(value, options?): T;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/structuredClone)

##### Type Parameters

| Type Parameter | Default type |
| ------ | ------ |
| `T` | `any` |

##### Parameters

| Parameter | Type |
| ------ | ------ |
| `value` | `T` |
| `options?` | [`StructuredSerializeOptions`](#structuredserializeoptions) |

##### Returns

`T`

#### Call Signature

```ts
function structuredClone<T>(value, options?): T;
```json
[MDN Reference](https://developer.mozilla.org/docs/Web/API/structuredClone)

##### Type Parameters

| Type Parameter | Default type |
| ------ | ------ |
| `T` | `any` |

##### Parameters

| Parameter | Type |
| ------ | ------ |
| `value` | `T` |
| `options?` | [`StructuredSerializeOptions`](#structuredserializeoptions) |

##### Returns

`T`
