perf: Do not allow optimized switch for non-cloned events