Fixes #479 - Cloning as described in documentation doesn't work