code: function(object) {
      var clone = {};
      var keys = Object.keys(object);
      var len = keys.length;
      for (var i = 0; i < len; i++) {
        var key = keys[i];
        clone[key] = factory.clone(object[key]);
      }
      return clone;
    }
docs: .clone(object)