code: def new(self, records: Sequence[BaseRecord]) -> RecordCollection:
      new = type(self)(self.create_record_fn)
      new._records = IndexableDict(
          [(record.record_id, record) for record in records]
      )
      return new
  
file_path: icevision/icevision/data/record_collection.py
imports: from __future__ import annotations
  from icevision.imports import *
  from icevision.utils import *
  from icevision.core.record import BaseRecord, autofix_records
  from icevision.data.data_splitter import DataSplitter
label_desc: Use image node_id 3 for calling the RecordCollection obj's underlying member method code with example usage: obj.new(records) and returns: new