docs: public static INDArray[] append(INDArray[] history, INDArray append) {
          INDArray[] appended = new INDArray[history.length];
          appended[0] = append;
          System.arraycopy(history, 0, appended, 1, history.length - 1);
          return appended;
      }