prevent 'resource cloning' from happening, fixes #103, fixes #109 and fixes #112