---
title: "cloneref"
description: "Creates another wrapper referring to the same underlying instance."
---

```lua
cloneref(instance: Instance): Instance
```

---

## Aliases

- `clonereference`

---

## Arguments

<ParamField body="instance" type="Instance" required>
  The Roblox Instance to operate on.
</ParamField>

---

## Returns

<ResponseField name="result" type="Instance">
  The Instance value returned by this operation.
</ResponseField>

This is not Instance:Clone(); both wrappers refer to the same object.

---

## Example

```lua
local part = Instance.new("Part")
local copy = cloneref(part)
print(compareinstances(part, copy))
part:Destroy()
```
