added newInstance()

newInstance() is useful when iterating over a collection of objects
Merge pull request #8 from zenry/patch-1

added newInstance()