code: def _copy_labels(labels):
      if labels is None:
          return None
  
      field = labels._LABEL_LIST_FIELD
      _labels = labels.copy()
  
      # We need the IDs to stay the same
      for _label, label in zip(_labels[field], labels[field]):
          _label.id = label.id
  
      return _labels
  
imports: from collections import defaultdict
  from copy import deepcopy
  import numpy
  import fiftyone.core.plots
  import fiftyone.utils.iou
  from .detection import DetectionEvaluation, DetectionEvaluationConfig, DetectionResults
label_desc: Use image node_id 9 for calling a global function with example usage: _copy_labels(labels) and returns: _labels, None