> For the complete documentation index, see [llms.txt](https://jscula.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jscula.gitbook.io/docs/manipulation/.clone.md).

# .clone()

`.clone()` creates a deep copy of an element.

***

#### Syntax

```js
element.clone();
```

***

#### Parameters

No parameters.

***

#### Output

```js
Node
```

***

#### Example

```js
const copy = $('.toast').clone();

copy.addClass('copy');
$('#toast-stack').append(copy);
```

***

#### Key Takeaway

> `.clone()` copies an element; it does not move the original.
