jamon.js
function clone(collection, deep = true) {
		const clones = new Jamon();

		collection.forEach(element => clones.push(element.cloneNode(deep)));

		return clones;
	}
function clone(collection, deep = true) {
		const clones = new Jamon();

		collection.forEach(element => clones.push(element.cloneNode(deep)));

		return clones;
	}
function clone ( collection , deep = true ) { const clones = new Jamon ( ) ; collection . forEach ( element => clones . push ( element . cloneNode ( deep ) ) ) ; return clones ; }
Clone each element in a collection
@private
@param {Jamon} collection
@param {boolean} [deep=true] - deep clone?
@return {Jamon} the cloned collection
Clone each element in a collection