Fix building with latest base PKHeX
Fix building with latest base PKHeX

Clone method was made internal so inaccessible by EdgeCaseLegality. Fixed by implementing the same code over into EdgeCaseLegality

architdate/PKHeX-Auto-Legality-Mod,architdate/PKHeX-Auto-Legality-Mod