public ShenyuServiceInstance deepCopy(final ShenyuServiceInstance instance) {
        return Optional.ofNullable(instance).map(data -> new ShenyuServiceInstance(data.getHost(), data.getPort(), data.getMetadata())).orElse(null);
    }
deep copy instance.
@param instance source data
@return The new instance
shenyu-plugin/shenyu-plugin-proxy/shenyu-plugin-rpc/shenyu-plugin-grpc/src/main/java/org/apache/shenyu/plugin/grpc/transfer/ShenyuServiceTransfer.java