dupFinder is a free command line tool by JetBrains. It can be used to reveal code duplication in C# and Visual Basic .NET code.