A key problem was that model cloning sometimes led to lost properties. To avoid this, a model structure also carries a pointer to a structure remembering global values (e.g. contains mutex/wg/channel), which is then propagated to any models cloned from the current one.
A key problem was that model cloning sometimes led to lost properties. To avoid this, a model structure also carries a pointer to a structure remembering global values (e.g. contains mutex/wg/channel), which is then propagated to any models cloned from the current one.