Added SWIG/python support for the copy constructor for all objects.