Deprecate SmartIF construction from bare pointer
The following discussion from !1766 (merged) should be addressed:
-
@clemenci started a discussion: With the introduction of SmartIF constructor from unique_ptr we should deprecate the constructor from bare pointer, as that might cause inconsistencies in the reference count.