Fixes #3796: refresh group tree when cloning a group