• Copy prototype functions and object properties to an empty object.

    Type Parameters

    Parameters

    • instance: T

      The object to copy functions and properties from

    Returns object