Repeat or copy on bar with multiple voices and a clef fails and renders bars unusable
Steps to reproduce:
1. Enter notes for voice 1 into a measure.
2. Enter notes for voice 2 into the same measure.
3. Add a clef to some note in voice 1, but after the first note of voice 2.
4. Try to duplicate the measure with the repeat shortcut or via copy & paste.
Expected result: The measure, including the clef, should be duplicated.
Actual result: The copied measure is split into two at the position of the clef, the clef itself is not copied. The split bars have a shorter length than the surrounding bars, rendering them unusable. Deleting the contents of the split bars does not alter their wrong lengths. Copying empty bars into them has strange effects I don't understand.
I hope, this bug report is more useful than the last one ;).