handle prototypes with getter
added test
Merge pull request #36 from purposeindustries/prototype-with-only-getter

Cloning prototypes with getter