src/util.js
function clone(origSource) {
    let origIndex = -1;
    let rc = new RecurseCounter(1000);
    return _clone.call(null, origSource, rc);
}
function clone(origSource) {
    let origIndex = -1;
    let rc = new RecurseCounter(1000);
    return _clone.call(null, origSource, rc);
}
function clone ( origSource ) { let origIndex = - 1 ; let rc = new RecurseCounter ( 1000 ) ; return _clone . call ( null , origSource , rc ) ; }
Creates a deep clone of the provided source.

@param origSource The item to clone.
@returns {any} The cloned item.
Creates a deep clone of the provided source .