Add a test for type object clone not crashing.