Replication-based quantum annealing error mitigation