Add VTK_NEWINSTANCE hint to MapScalars() and other methods

These methods return new VTK objects which were leaking in the Python wrappers.

Closes: #19174 (closed)

Backport: release
Backport: paraview/release

Merge request reports

Loading