code: def _reset_copy(obj: p.Parameter) -> p.Parameter:
      """Copy a parameter and resets its random state to obtain variability"""
      out = obj.copy()
      out._set_random_state(None)  # propagates None to sub-parameters
      return out
  
imports: import inspect
  from pathlib import Path
  import numbers
  import numpy
  import nevergrad.common.typing
  from nevergrad.common import errors
  from nevergrad.common.errors import UnsupportedExperiment
  from nevergrad.parametrization import parameter
  from nevergrad.optimization import multiobjective
label_desc: Use image node_id 1 for calling a global function with example usage: _reset_copy(obj) and returns: out