Added basic clone methods in IAgent, IPopulation and extending classes.

For use with the upcomming record simulation function.