Returns the root of the target object, or itself if the target is a root.
Root object type.
Target object.
Returns the root of the target object, or itself if the target is a root.