Remove unnecessary clear() calls in mesh assignment functions.

Fixes self-assignment bug without ugly explicit self-assignment check. Fixes Issuse #341
Merge branch 'garth/fix-issue-341-mesh-self-assignment' into next