The style borrows from pre-Islamic Iranian architecture . Most mosques with this style are in Iran . The style represents a borrowing from pre-Islamic Iranian architecture and has been used almost exclusively for mosques in Iran .