def METHOD_NAME():
    da = _make_data_array()
    da = sc.concat([da, da], 'y')
    assert_variable_readonly(da['y', 1].coords['x'])
    assert_variable_readonly(da['y', 1].masks['m'])
    assert_variable_readonly(da['y', 1].attrs['a'])
    # Shallow copy makes dict writable but not the items (buffers)
    assert_variable_readonly(da['y', 1].copy(deep=False).coords['x'])
    assert_variable_readonly(da['y', 1].copy(deep=False).masks['m'])
    assert_variable_readonly(da['y', 1].copy(deep=False).attrs['a'])
    # Deep copy copies buffers
    assert_variable_writable(da['y', 1].copy().coords['x'])
    assert_variable_writable(da['y', 1].copy().masks['m'])
    assert_variable_writable(da['y', 1].copy().attrs['a'])