Vinicius Junior has signed a new six-year Real Madrid contract to put an end to Arsenal's pursuit of the forward.