Deprecate array constructor usage
Deprecate array constructor usage

Invoking the constructor instead of just a method causes an error.
This resolves that error.

vincent99/ui,rancher/ui,rancherio/ui,rancherio/ui,rancherio/ui,westlywright/ui,vincent99/ui,rancher/ui,vincent99/ui,westlywright/ui,westlywright/ui,rancher/ui