Users may remove / re-add a line with the same item code, not knowing about line keys and mistakenly thinking it will update the existing order line with the same item code.
If my theory is correct, you should see evidence of the new duplicate line being added by a row in SO_ARInvoiceHistoryLink, which links AR invoice history lines to SO history lines.