Updates when cloning
Add hash to key conversion
Fix how gaugeKey is set
Fix crash due to initialization order issue