Do not modify returned value. Use a cloned pointer. Fixes #159.