Fix #22. ensure that object are not copied by value.

Fixed Issue #22. Ensure to create a new object everytime.