No, it has to be the same model (you can clone 225 to 250, but that is an exception).
I would get the port config via the API and push it back the same way.
If you found this post helpful, please give it Kudos. If my answer solves your problem, please click Accept as Solution so others can benefit from it.