YAscifi book from 2000s.

There’s this series of books wherein the protagonist is the clone of the antagonist. The antagonist unleashed a computer virus on Earth and a colony on Mars and the protagonist and another clone end up making antivirus dogs or whatever to combat the virus.