https://dixq.net/forum/
https://dixq.net/forum/viewtopic.php?f=3&t=20082
コード:
class test : hoge { public: virtual hoge* Copy() { return new test(); } }