Recent versions of LibO Calc offer the setting mentioned in the subject for shapes.
I tried to find the property used to keep the new setting as its value, but did not succeed.
If someone wants to set/cancel the new property value by a running script he (f/m) would need to know.