Freeze datasets instead of deepcopy'ing