Nice idea. I can see this being useful before refactors, especially when the duplication is semantic rather than copy paste.