Added back method `remove_if_overwriting` which was accidentally removed
by r7365. Closes #7498. Thanks Todd!
Authored by: jonas 2008-08-04
Parent: [r7436]
Child: [r7438]