Finally fix my-duplicate-line-or-region to retain the region.