This is important to ensure inheriting permissions from an already defined role. If we're not using the one from Rbac and $child is a string the role will simply create a new Role instance without the already defined permissions.