do not duplicate linked objects, fixes #4

please merge if this is ok. I am not so familiar with all this reflect stuff :P 

this resolves #4