Stack copy constructor