static A setAndSaveIfChanged(S var, A value) { if (neq(get(mc(), var), value)) setAndSave(var); ret value; }