Create unique relationship

Seems to work correctly on my machine.
I also added an optional props field, to set properties on the relationship (which too seems to work).