A useful return value for set_object_vars() which allows it to be used as inline object initializer.

return \Sledgehammer\set_object_vars(new MyClass(), array( … ));