code: public NDArray<T> cloneArray() {
          NDArray<T> copy = new NDArray<>(dimensions.clone());
          copy.values = values.clone();
          return copy;
      }
docs: Clones the table, but keeps the values by reference.
  @return a new NDArray, a perfect replica of this one