lib/clone.js
function clone(obj) {
  var key, copy = {};
  if (!obj) {
    return;
  }

  for (key in obj) {
    copy[key] = obj[key];
  }

  return copy;
}
function clone(obj) {
  var key, copy = {};
  if (!obj) {
    return;
  }

  for (key in obj) {
    copy[key] = obj[key];
  }

  return copy;
}
Clones an object