Restore a LXC Container from a non encrypt ZFS dataset to a encrypt dataset

Hello everyone, I hope you are all well.
Well, I’m working on a project for a company that aims to improve security on its servers internally. Therefore, it uses a lot with LXC containers supported by ZFS Datasets.
I need to know if there is any possibility of transferring LXC containers from unencrypted datasets to encrypted datasets without the containers losing their functionality and in the easiest way possible.
Guys, is there any way to perform this action.
I’ve already tried with Rsync but every time I initialize the copy inside it gives an error showing the impossibility of migrating encrypted datasets to non-encrypted ones and vice versa.

Has anyone managed to perform this type of migration???

Need your help guys.