code: function copy(source, target) {
    for (var name in source) {
      if (source.hasOwnProperty(name)) {
        target[name] = source[name];
      }
    }
  }
docs: Reset properties on object.
  
  @param {Object} source
  @param {Object} target
  @api private