Iran is preparing an unprecedented large-scale security operation for the funeral of Supreme Leader Ali Khamenei.