code: function clone(orig, dataType){
  	if(!dataType)
  		dataType = getDataType(orig);
  
  	if(dataType == 'Array'){
  		var newArray = [];
  		for(var i = 0; i < orig.length; i++)
  			newArray.push(orig[i]);
  
  		return newArray;
  
  	} else if(dataType == 'Object') {
  		var newObject = {};
  		for(var key in orig)
  			newObject[key] = clone(orig[key]);
  
  		return newObject;
  
  	} else
  		return orig;
  }
docs: /*
  Clones variables to avoid pass by reference issues
  
  @param {any} orig
  @param {optional|string} dataType
  @returns {clone.newArray|Array|clone.orig}