toObject() {
    if (!this.isValid) return {};
    return { ...this.values };
  }
Returns a JavaScript object with this Duration's values.
@example Duration.fromObject({ years: 1, days: 6, seconds: 2 }).toObject() //=> { years: 1, days: 6, seconds: 2 }
@return {Object}