add basic support for slicing, new properties are preserved in the userdata environment table