Real or personal property conveyed to a town or to its residents or any person for the use of the town or its residents is town property. The conveyance has the same effect as if made directly to the town by name.