/** * Return a copy/clone of the given array or object * * Utils for array of object, or objects with Properties with objects, et... * * @param {object|any[]} original - the original object/array to copy/clone * @returns {object|any[]} */ export function clone(original: object | any[]): object | any[];