# Clone()

> Creates a new PhysicsWorld that is a copy of this world, including all of its PhysicsBody, PhysicsShape and PhysicsJoint.

## Definition

* **Type:** Method
* **Namespace:** [Unity.U2D.Physics](/engine/6000.6/script-reference/unity/u2d/physics.md)
* **Assembly:** UnityEngine.PhysicsCore2DModule

```csharp
public PhysicsWorld Clone()
```

### Returns

| Type                                                                              | Description       |
| --------------------------------------------------------------------------------- | ----------------- |
| [PhysicsWorld](/engine/6000.6/script-reference/unity/u2d/physics/physicsworld.md) | The cloned world. |

### Remarks

The clone is a separate world, so handles you hold for this world do not resolve against it; enumerate the clone with [PhysicsWorld.GetBodies](/engine/6000.6/script-reference/unity/u2d/physics/physicsworld/getbodies.md) and similar. The clone is not owned and its [\_userData](/engine/6000.6/script-reference/unity/u2d/physics/physicsworld/userdata.md) is not copied; callback options come across but any callback targets must be set on the clone.
