added deep copy for Terms and Term objects