Fix dup method
Merge pull request #13 from RicardoGzz/master

Fix dup method, Issue #12