• Takes an object and returns a new object that has the same keys, values and metatable.

    The cloning is shallow - meaning that any object values in the clone will reference the same value objects as the parent.

    Type Parameters

    • V

    Parameters

    • value: readonly V[]

    Returns V[]