I'm surprised nobody has mentioned SportTracks. They've had this feature for five years. You can split by distance, time, add, remove, edit - complete control. Laps are marked on all the charts and the maps - you can pick a lap and zoom in on the section, see stats for laps etc.
Really great, simple to use, supports Garmin.
Get the free version here.