memclean temporary variable before passing to the initializer