add

Adds child under this resource and returns it.

Throws

if a child of that name exists or child has a parent.