---
title: "Clone()"
description: "Creates an unparented deep copy of an instance and its cloneable descendants."
canonical: "https://docs.glorpia.com/scripting/functions/clone"
markdown: "https://docs.glorpia.com/scripting/functions/clone.md"
---
# Clone()

Creates an unparented deep copy of an instance and its cloneable descendants.

**Category:** Scripting / Method

## Syntax

```luau
instance:Clone()
```

## Return value

| Name | Type | Description |
| --- | --- | --- |
| `return` | Instance | A new copy with a new instance ID. The cloned root starts with Parent set to nil. |

> **Note:** The complete supported child hierarchy is copied recursively regardless of the root class. For example, cloning a Part also clones a Script inside that Part and every supported child under that Script. Every cloned descendant receives a fresh instance ID. ObjectValue references that point inside the cloned tree are remapped to the matching cloned target; external ObjectValue references remain external. Runtime-owned service roots and Player instances cannot be cloned.

## Example: Duplicate A Model

```luau
local template = workspace:WaitForChild("Crate")
local copy = template:Clone()

copy.Name = "CrateCopy"
copy.Parent = workspace
copy:PivotTo(CFrame.new(0, 8, 0))
```

## Parenting the clone

The returned root is not placed into the hierarchy automatically. Set its `Parent` when the copy is ready to become part of the game hierarchy.

## Related

- [Instance.new()](https://docs.glorpia.com/scripting/functions/instance-new.md) — Create a new empty supported instance.
- [Destroy()](https://docs.glorpia.com/scripting/functions/destroy.md) — Remove an instance and its descendants.
- [PivotTo()](https://docs.glorpia.com/scripting/functions/pivot-to.md) — Move a cloned BasePart or Model.
