docs: public static AbstractMatrix getInstance(int rows, Object values, Class<?> cls)
      {
          int length = Array.getLength(values);
          if (length % rows != 0)
          {
              throw new IllegalArgumentException("not full rows");
          }
          return new AbstractMatrix(rows, copyOf(values, cls));
      }