Bugfix [#34710] Crash on duplicating object with cloth modifier.

Caused by last commit by me.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55449 954f8c5b-7b00-dc11-b283-0030488c597c