Copy ds instead of creating a reference