docs: public MonetaryFormat optionalDecimals(int... groups) {
          List<Integer> decimalGroups = new ArrayList<>(groups.length);
          for (int group : groups)
              decimalGroups.add(group);
          return new MonetaryFormat(negativeSign, positiveSign, zeroDigit, decimalMark, minDecimals, decimalGroups,
                  shift, roundingMode, codes, codeSeparator, codePrefixed);
      }