ID 314080 - nuke.clone() ignores inpanel flag and creates a panel

Follow

Problem summary
nuke.clone() ignores inpanel flag and creates a panel.

Customer reported version
nuke.10.5v5

Customer reported platform
centos6

Steps to reproduce
1) Run Nuke.
2) Create a grade node by pressing "g" on the keyboard.
3) Load a script editor into a pane.
4) Enter the following script, select the grade node in the node graph, and run the script using the enter button at the top of the script editor:
nuke.clone(nuke.selectedNode(), inpanel=False)

Result: Panel is created.

Workaround
Unknown.

Reproduced by support
11.0v2 - Windows 10, OSX 10.13, Centos 7
11.0v1 - Windows 10, OSX 10.13, Centos 7
10.5v6 - Windows 10, OSX 10.13, Centos 7
10.5v1 - Windows 10, OSX 10.13, Centos 7
10.0v6 - Windows 10, OSX 10.13, Centos 7
10.0v1 - Windows 10, OSX 10.13, Centos 7
9.0v9 - Windows 10, OSX 10.13, Centos 7
9.0v1 - Windows 10, OSX 10.13, Centos 7
8.0v7 - Windows 10, OSX 10.13, Centos 7
8.0v1 - Windows 10, OSX 10.13, Centos 7
7.0v10 - Windows 10, OSX 10.13, Centos 7
7.0v1 - Windows 10, OSX 10.13, Centos 7

Earliest version tested
7.0v1

Expected behaviour
panel should not appear when inpanel=False.

Actual behaviour
Panel appears regardless of inpanel setting.

    We're sorry to hear that

    Please tell us why