Multirotor Takeoff from a boat

Hey
I’m searching for a way to takeoff from a boat.
The problem is that the drone cannot be stationary for the initialization because of the waves.
Is there is a solution for that? (like the “Boat Mode” in arducopter).

Thanks