Added deepCopy() support.