[client][managed][offline] insert should throw if the item already exists #491