clone method

QLearning clone()

Create a deep clone of this agent (useful for experiments).

Implementation

QLearning clone() {
  final m = toMap();
  return QLearning.fromMap(m);
}