Issue #2199795 by andypost, twistor, martin107, larowlan, andyceo: Make the Settings class prevent serialization of actual settings