function shallowCloneObject(object) {
  if (!(object instanceof Object))
    return object;
  var copy = {};
  for (var key in object) {
    copy[key] = object[key];
  }
  return copy;
}
/**
 * Clones a basic POD object.  Only a new top level object will be cloned.  It
 * will continue to reference the same values as the original object.
 * @param {Object} object The object to be cloned.
 * @return {Object} A copy of |object|.
 */
Clones a basic POD object.  Only a new top level object will be cloned.  It
will continue to reference the same values as the original object.
@param {Object} object The object to be cloned.
@return {Object} A copy of |object|.
Clones a basic POD object . Only a new top level object will be cloned . It will continue to reference the same values as the original object . @param { Object } object The object to be cloned . @return { Object } A copy of |object| .
function shallowCloneObject(object) {
  if (!(object instanceof Object))
    return object;
  var copy = {};
  for (var key in object) {
    copy[key] = object[key];
  }
  return copy;
}
function shallowCloneObject ( object ) { if ( ! ( object instanceof Object ) ) return object ; var copy = { } ; for ( var key in object ) { copy [ key ] = object [ key ] ; } return copy ; }
Clones a basic POD object.
Clones a basic POD object .