docs: public Transition<A> dup() {
          INDArray[] dupObservation = dup(observation);
          INDArray nextObs = nextObservation.dup();
  
          return new Transition<>(dupObservation, action, reward, isTerminal, nextObs);
      }