Custom flashing procedure for Xavier NX

Is that custom board design by you?
If not, you should get the custom BSP package from your vendor for the custom board design instead of using SDKM to flash the board.

For cloning the image from NVMe drive, you could refer to this instruction for the usage of l4t_backup_restore.sh tool, but you might do some change manually.
Please also refer to this thread about the modification for NVMe.