I'm trying to implement a Cloning function for one of my classes I want to extend to Python. Extending the classes in C++ is easy as I can just override the Clone function, but it's definitely not working like that for Python. Here's the code, with unimportant detail ommitted.
I'm really not sure how to do this - I'm stuck on what I need to put under def Clone. I know I can't have multiple inits, and I can't define a copy constructor. I know about the copy function in python, but the Action class (base of Attack) has a custom copy constructor I need to be called.