Merge "Copy InputDeviceIdentifier instead of taking a reference"