record_raw_object: Record an Arbitrary Object During a Simulation
Description
This function records any object during a simulation to allow it's
inspection afterward. The records are stored in dat[["raw.records"]]
during the simulation and in the netsim object under the
raw.records sublists.