<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [server](./server.md) &gt; [Matrix2](./server.matrix2.md) &gt; [clone](./server.matrix2.clone.md)

## Matrix2.clone() method

Clones the current matrix.

**Signature:**

```typescript
clone(): Matrix2;
```
**Returns:**

[Matrix2](./server.matrix2.md)

A clone of the current matrix.

