Purge all unused playlist items option

I’m sure you know how it is when you change your mind as you go along and end up importing items you decide not to use in the end. Would it be useful if Shotcut could analyse the timeline, work out what hasn’t been included and dump it? Maybe that would help to make projects ‘lighter’ and possibly less prone to problems? Otherwise, maybe just one for the neat freaks and OCD sufferers.