Return deep copy of state
Merge pull request #5 from ivn-cote/patch-1

Return deep copy of state