code: function clone(obj) {
    var key;
    var copy = {};
    for (key in obj) {
      /* istanbul ignore else */
      if (hop.call(obj, key)) {
        copy[key] = obj[key];
      }
    }
    return copy;
  }
docs: Shallow-clone an object.