Bugfix/namespace clone

Fix issue #76.
Cloned objects failed to have namespace pointer initialized to NULL, causing the reference counter to fail to increment properly.