Allow cloud_in = cloud_out in filters

Fixes #1041

This allow using any filter with `cloud_in` = `cloud_out` without changing the ABI.
Using a filter with `cloud_in` = `cloud_out` will lead to a loss in performance due to the copy of the point cloud.