An item with the same key has already been added

When you try to export a virtual machine and get the following error : "An item with the same key has already been added’. There is probably a snapshot attached to the Virtual Machine.

You can’t export the VM with snapshots you’ve got to remove them first.