Fix bug GH-14456: Attempting to initialize class with private constructor calls destructor Closes GH-14469