creates Args instance by AutoPtr
creates Args instance by AutoPtr