> ## Documentation Index
> Fetch the complete documentation index at: https://docs.projectreal.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# cloneref

> 같은 내부 Instance 포인터에 대한 새 Instance 참조를 push하고 반환합니다.

<div className="real-function-page">
  ```lua theme={null}
  cloneref(instance: Instance): Instance
  ```

  ## 별칭

  * `clonereference`

  ## 인수

  <ParamField path={"instance"} type={"Instance"} required>
    새 참조의 소스로 사용되는 Instance object입니다.
  </ParamField>

  ## 반환값

  <ResponseField name={"reference"} type={"Instance"}>
    원본 object 포인터로 Instance cache가 실행된 뒤 반환되는 Instance 참조입니다.
  </ResponseField>

  ## 예제

  기존 Instance object에서 다른 Instance 참조를 만듭니다.

  ```lua theme={null}
  local Players = game:GetService("Players")

  local reference = cloneref(Players)
  print(reference)

  local sameAlias = clonereference(Players)
  print(sameAlias)
  ```
</div>
