cloneref
Returns a copy of the Instance where the copy should not be equal to the original Instance it was cloned from.
function cloneref<T>(object: T & Instance): TParameter
object- The Instance to clone.
Example
local ClonedPlayer = cloneref(game:GetService("Players").LocalPlayer)
local Player = game:GetService("Players").LocalPlayer
print(Player == ClonedPlayer) -- Output: falseLast updated