Fixed #2039: widget.clone's problem
Merge pull request #2052 from VisualSJ/develop-rc2_test

Fixed #2039: widget.clone's problem