def METHOD_NAME(ds_local):
    ds = ds_local
    ds_copy = ds.copy()
    ds['v'] = ds.x + 1
    state = ds.state_get()
    ds_copy.state_set(state)
    assert ds_copy.v.values.tolist() == ds.v.values.tolist()
    # making a copy when the state is set should work as well
    assert ds_copy.copy().v.values.tolist() == ds.v.values.tolist()
    assert 'v' in ds_copy.get_column_names()