Fixed char* allocation in Tally clone methods for DerivedTally types