def outplace(func, clip, *args, **kwargs):
    """Applies ``func(clip.copy(), *args, **kwargs)`` and returns ``clip.copy()``."""
    new_clip = clip.copy()
    func(new_clip, *args, **kwargs)
    return new_clip
Applies ``func(clip.copy(), *args, **kwargs)`` and returns ``clip.copy()``.
moviepy/decorators.py