ALTER VIEW drops Index from View
There is no setting to change this behavior nor has it changed in newer SQL Server versions. An excerpt from the current documentation remarks section for SQL Server 2019 and Azure SQL Database:


  ALTER VIEW can be applied to indexed views; however, ALTER VIEW
  unconditionally drops all indexes on the view