Cannot retain opal_buffer_t, so use a copy