Add duplicate and swap