Score Editor: Bar repeats based on Midi

I’d love to have the option to automatically set bar repeats or repeat signs in the score editor for consecutive bars that are identical. When creating scores based on midi, especially when creating tabs, I could see this being a great way to clean up scores created from Midi.