function rederive(t, d) {
    for (const k in t) d[k] = t[k];
    return d;
  }
Rederive a derived tuple by copying values from the source tuple.
@param {object} t - The source tuple.
@param {object} d - The derived tuple.
@return {object} The derived tuple.