lib/Wiretree.js
function (obj) {
	var res = {}, i;
	for (i in obj) {
		res[i] = obj[i];
	}
	return res;
}
function (obj) {
	var res = {}, i;
	for (i in obj) {
		res[i] = obj[i];
	}
	return res;
}
get a simple copy of an object