Modify .extend to copy the parent's constructor
Merge pull request #12 from maspwr/master

Modify .extend to copy the parent's constructor