whitespace trim
move resetting the mock proxy to the duplicate object, this fixes the bizare issue with dup and frozen
refactor back to one method and move spec
Merge pull request #234 from JonRowe/fix_issue_with_stubbing_any_instance_and_dup

Fix issue #229 runtime error caused by duplicating an object which is frozen and stubbing with any_instance