lib/pass.js
function cloneObject(object) {
  var clone = {};
  if (object) {
    for (var key in object)
      clone[key] = object[key];
  }
  return clone;
}
function cloneObject(object) {
  var clone = {};
  if (object) {
    for (var key in object)
      clone[key] = object[key];
  }
  return clone;
}
function cloneObject ( object ) { var clone = { } ; if ( object ) { for ( var key in object ) clone [ key ] = object [ key ] ; } return clone ; }
Clone an object by copying all its properties and returning new object. If the argument is missing or null, returns a new object.
Clone an object by copying all its properties and returning new object . If the argument is missing or null returns a new object .