Clip creates a copy to avoid array corruption.