code: public static Props of(final Props parent, final String... args) {
      if (args.length % 2 != 0) {
        throw new IllegalArgumentException(
            "Must have an equal number of keys and values.");
      }
  
      final Map<String, String> vals = new HashMap<>(args.length / 2);
  
      for (int i = 0; i < args.length; i += 2) {
        vals.put(args[i], args[i + 1]);
      }
      return new Props(parent, vals);
    }
docs: Create a Props from a list of key value pairing. i.e. [key1, value1, key2, value2 ...]