docs: public MappeableArrayContainer toArrayContainer() {
      final MappeableArrayContainer ac = new MappeableArrayContainer(cardinality);
      ac.loadData(this);
      if (ac.getCardinality() != cardinality) {
        throw new RuntimeException("Internal error.");
      }
      return ac;
    }