tasks/lib/auth.js
function(obj) {
  var cloned = {};
  for(var key in obj) {
    if(obj.hasOwnProperty(key)) {
      cloned[key] = obj[key];
    }
  }
  return cloned;
}
function(obj) {
  var cloned = {};
  for(var key in obj) {
    if(obj.hasOwnProperty(key)) {
      cloned[key] = obj[key];
    }
  }
  return cloned;
}
function ( obj ) { var cloned = { } ; for ( var key in obj ) { if ( obj . hasOwnProperty ( key ) ) { cloned [ key ] = obj [ key ] ; } } return cloned ; }
Return a clone of an object
Return a clone of an object