Duplicate line / region functionality