Added an assertion into the default_cloner for more safety.