code: def _new_replica(self, instance_id: int, is_master: bool, bls_bft: BlsBft) -> Replica:
          
          return self._replica_class(self._node, instance_id, self._config, is_master, bls_bft, self._metrics)
docs: Create a new replica with the specified parameters.