docs: public static <K, V> ArrayMap<K, V> of(Object... keyValuePairs) {
      ArrayMap<K, V> result = create(1);
      int length = keyValuePairs.length;
      if (1 == length % 2) {
        throw new IllegalArgumentException(
            "missing value for last key: " + keyValuePairs[length - 1]);
      }
      result.size = keyValuePairs.length / 2;
      Object[] data = result.data = new Object[length];
      System.arraycopy(keyValuePairs, 0, data, 0, length);
      return result;
    }