E. Cecil McGavin recognizes similarities between Latter-day Saints and Masons but suggests that the temple ceremony inspiration goes beyond Masonry.
E. Cecil McGavin, Mormonism and Masonry (Salt Lake City: Bookcraft, 1947), 200
We frankly admit that there are a few similarities in the ritual of the Mormons and the Masons, but the evidence demands that we look higher than Masonry for the inspiration that called into being the inspiring ceremony that is administered in Mormon Temples.