“Clone Digger is a new tool detects duplicate code in Python sources. It has been applied to several open-source projects, which found that about 12% of their code consisted of clones. This article explains how to use Clone Digger in your own project and gives you the theoretical background in the related fields.”
I found this tool from python magazine(http://pymag.phparch.
com/). I am really impressed with this tool. Very handy and very very useful.
for more info: http://clonedigger.