Nice feature of
gdisk
. I would have said just use parted
to delete the partitions and recreate them with exactly the same start and size.