NumPy - Array Manipulation
Given a 2D array
arr, you want to flatten it and then multiply each element by 2 without changing the original array. Which code snippet achieves this correctly?