rem: }else if(dojo.isObject(o)){ if(o.nodeType && o.cloneNode){ return o.cloneNode(true); }else{ var r = new o.constructor(); for(var i in o){ if(!(i in r) || r[i] != o[i]){ r[i] = dojo.clone(o[i]); } } return r; 
add: } if(!dojo.isObject(o)){ return o;	/*anything*/ } if(o.nodeType && o.cloneNode){ return o.cloneNode(true); } if(o instanceof Date){ return new Date(o.getTime()); }  var r = new o.constructor(); for(var i in o){ if(!(i in r) || r[i] != o[i]){ r[i] = dojo.clone(o[i]); 
context: dojo.clone = function(/*anything*/ o){	// summary:	//		Clones objects (including DOM nodes) and all children.	//		Warning: do not clone cyclic structures.	if(!o){ return o; }	if(dojo.isArray(o)){		var r = [];		for(var i = 0; i < o.length; ++i){			r.push(dojo.clone(o[i]));		}		return r; // Array	}else if(dojo.isObject(o)){		if(o.nodeType && o.cloneNode){ // isNode			return o.cloneNode(true); // Node		}else{			var r = new o.constructor(); // specific to dojo.declare()'d classes!			for(var i in o){				if(!(i in r) || r[i] != o[i]){					r[i] = dojo.clone(o[i]);				}			}			return r; // Object		}	}	return o; /*anything*/}
meta: 4497	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4497/9fcf1af297f36385dc54236c3721842c5b5ed14d/lang.js/buggy/_base/lang.js