restructureMobjects method
Implementation
void restructureMobjects(
{List<Mobject> toRemove = const [], bool extractFamilies = true}) {
var toRemove_ = [
...toRemove,
if (extractFamilies) ...camera.extractMobjectFamilyMembers(toRemove)
];
mobjects = getRestructuredMobjectList(mobjects, toRemove_);
}