Are you using the latest version of Spine? Can you please post or email a project which Clean Up
deletes keys it should not? contact@esotericsoftware.com
A bone which is constrained by IK cannot disable rotation, scale, or reflection. The checkboxes should be disabled, how are you unchecked it?