• Returns an object that cloned from the given object

    Parameters

    • Optionalsource: object

      the object to clone

    Returns object | undefined

    an object that cloned from the given object

    clone({'foo': 'bar'});