docstr: Change the behavior of clone to allow copies to have a different rng.
docstr_tok: ["Change","the","behavior","of","clone","to","allow","copies","to","have","a","different","rng","."]
code: def clone(
      self, new_params: dict | None = None, include_attributes=False
  ):
      """Change the behavior of clone to allow copies to have a different rng."""
  
      new_params = new_params or {}
      new_params["seed"] = self._rng.randint(0, sys.maxsize)
      return super().clone(new_params, include_attributes)
  
file_path: river/river/tree/splitter/random_splitter.py
imports: from __future__ import annotations
  import abc
  import random
  import sys
  from river import stats
  from river.tree.splitter import Splitter
  from river.tree.utils import BranchFactory
label_desc: Use image node_id 2 for calling the RandomSplitter obj's underlying member method code with example usage: obj.clone(new_params, include_attributes) and returns: super