function inherit$1(original, ...objects) {
    /** @type Record<string,any> */
    const result = Object.create(null);

    for (const key in original) {
      result[key] = original[key];
    }
    objects.forEach(function (obj) {
      for (const key in obj) {
        result[key] = obj[key];
      }
    });
    return /** @type {T} */ (result);
  }
performs a shallow merge of multiple objects into one

@template T
@param {T} original
@param {Record<string,any>[]} objects
@returns {T} a single new object