We still have raw pointers in the variant and so we need to deal with copying the contained objects ourselves. Change-Id: I0e5f1b56430ffeda9d34ede30ec87cfd45a61662