New constant_clone() metaprogramming trick

This gets us passing all tests with everything enabled.