SaveVariable/WpKeySave context managers
Custom clock settings seem to work