fixed cloning of asset references

fixes #611
fixes #532
fixes #537
fixes #617 

this won't work if you are cloning an AssetReference which was already a resolved clone. It should clone ``$this->asset`` in such case.