code: public GlobalizationPreferences reset() {
          if (isFrozen()) {
              throw new UnsupportedOperationException("Attempt to modify immutable object");
          }
          locales = null;
          territory = null;
          calendar = null;
          collator = null;
          breakIterators = null;
          timezone = null;
          currency = null;
          dateFormats = null;
          numberFormats = null;
          implicitLocales = null;
          return this;
      }
docs: Restore the object to the initial state.
  
  @return this, for chaining
  @hide draft / provisional / internal are hidden on Android