Cloning a RegisteredService should not have to require a cast

Description

The clone() method of a registered service currently returns an object. This can be swapped out with RegisteredService itself to remove the need to cast and also tighten down the return type.

Environment

None

Assignee

Misagh Moayyed

Reporter

Misagh Moayyed

Labels

None

Estimated End Date

None

Components

Fix versions

Affects versions

Priority

Trivial
Configure