Deletes penUp adjacent duplicates