Thank you for your question on the washer shaking in the spin cycle.
This machine has a rear leg balance system, where the rear leveling feet are tied together and automatically lever the back legs after you have leveled the front legs.
Sometimes the back legs can get locked in a non auto leveling position and the machine will shake in spin.
Please check to see if this could be the problem.
With the two front legs properly leveled, lift the back of the machine about two inches off the ground and let it drop to auto level the rear legs.
If that does not solve the problem then let me know and we can continue to troubleshoot if needed.