After making some changes like copying
<filename>loader.conf
</filename> to the promoted clone, for example, the old directory becomes obsolete in this case. Instead, the promoted clone can replace it. This can be achieved by two consecutive commands:
<command>zfs destroy
</command> on the old dataset and
<command>zfs rename
</command> on the clone to name it like the old dataset (it could also get an entirely different name).