Don't return a clone from getObject

Fixes #154.