The Replace Method Code Duplicates allows you to find code repetitions similar to the selected method, and replace them with calls to the method.