Create cluster factory method with Replica argument.