remove deepcopy of slice header and image object