copy

Copies a service. New instance is needed to separate containing values per connected client device.

Return

A new service instance.

Parameters

service

Service to copy.