Adding future for type mismatch for autocopy functions with ref arg