Reintroduce duplication-prevention

It is necessary when one needs to regularly push the same object from C to Lua and then modifies it within Lua.
 Pushing a fresh object would loose the modifications (e.g. added functions).